import request from '@/utils/request'

// 查询积分变细列表
export function listAxAccountChangeRecord(query) {
  return request({
    url: '/ax/axAccountChangeRecord/list',
    method: 'get',
    params: query
  })
}

// 查询积分变细详细
export function getAxAccountChangeRecord(id) {
  return request({
    url: '/ax/axAccountChangeRecord/' + id,
    method: 'get'
  })
}

// 新增积分变细
export function addAxAccountChangeRecord(data) {
  return request({
    url: '/ax/axAccountChangeRecord',
    method: 'post',
    data: data
  })
}

// 修改积分变细
export function updateAxAccountChangeRecord(data) {
  return request({
    url: '/ax/axAccountChangeRecord',
    method: 'put',
    data: data
  })
}

// 删除积分变细
export function delAxAccountChangeRecord(id) {
  return request({
    url: '/ax/axAccountChangeRecord/' + id,
    method: 'delete'
  })
}
